export default {
    setData(state, data) {
        state.data = data;
    },
    setPayData(state, data) {
        state.payData = data;
    },
    setTaoCanListData(state, data) {
        state.taoCanListData = data;
    },
    setMealSmallItemsData(state, data) {
        state.mealSmallItemsData = data;
    },
    setMealDetailData(state, data) {
        state.mealDetailData = data;
    },
    setUserMealListData(state, data) {
        state.userMealListData = data;
    },
    setFreeCleaningData(state, data) {
        state.freeCleaningData = data;
    },
    setSelectBao(state, data) {
        state.selectBao = data;
    },
    setOrderNumber(state,data){
        state.orderData.orderNumber = data;
    },
    setOrderDetail(state,data){
        state.orderData.scheduledTime = data.scheduledTime;
        state.orderData.cmItemName = data.cmItem.name;
        state.orderData.userName = data.userName;
        state.orderData.userMobile = data.userMobile;
        state.orderData.userAddress = data.userAddress;
    }
}